package com.ruoyi.grade.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("student_course_grade")
public class StudentCourseGrade {

  @TableId(type = IdType.AUTO)
  private Long id;

  @Excel(name = "课程名称")
  private String courseName;

  @Excel(name = "最高成绩")
  private BigDecimal highestScore;

  @Excel(name = "绩点")
  private BigDecimal gpa;

  private Integer gpaRank;

  @Excel(name = "姓名")
  private String userName;

  @Excel(name = "学年")
  private String academicYear;

  @Excel(name = "学期")
  private String semester;

  @Excel(name = "学号")
  private String studentId;

  @Excel(name = "课程类别")
  private String courseCategory;

  @Excel(name = "专业名称")
  private String major;
}
